package com.common.jump;

import android.content.Context;
import android.os.Bundle;

import com.curry.android.util.IntentHelper;
import com.orangelife.mobile.common.activity.BaseCompleteActivity;

/**
 * Created by wgf on 2016/7/11.
 *
 * @author wgf
 * @since v3.8
 */
public class BaseTipJumper {

    public static void jumpToBaseTip(Context context, Bundle bundle, String className, String btnMsg, String title, String tip) {
        if (bundle == null) {
            return;
        }
        bundle.putString("className", className);
        bundle.putString("btnMsg", btnMsg);
        bundle.putString("title", title);
        bundle.putString("tip", tip);
        IntentHelper.getInstances().bundleWithExtra(context, BaseCompleteActivity.class, bundle);
    }

    /** 统一的通知页，点击按钮后，跳转到各自需要的界面 */
    public static void jumpFromBaseTip(int code) {
        switch (code) {
            case 0:
                break;
        }
    }

}
